import {h} from "vue";

function ItemMeta({data}) {
  const {title, iconNode} = data
  return (
      <>
        {iconNode && (
            <el-icon>
              {h(iconNode)}
            </el-icon>
        )}
        <span>{title}</span>
      </>
  )
}

export default ItemMeta
